<div class="alert alert-success"><span class="glyphicon glyphicon-info-sign"></span> 下面地址为微房产首页地址，可以复制到其它地方使用。</div>

<form action="" class="form-horizontal" role="form">
	<div class="form-group">
	    <label class="col-sm-2 control-label">首页地址</label>
	    <div class="col-sm-4">
			<input type="text" readonly="readonly" id="url" class="form-control" value="{$house.url}" datatype="*"/>
			<a href="javascript:void(0)" id="copyUrl">复制接口URL</a>
		</div>
	</div>
</form>

<style>
	form:nth-of-type(1){
		border-bottom:1px solid #ccc;
		margin-bottom:20px;
	}
</style>
<script type="text/javascript" src="__PUBLIC__/Style/Common/js/ZeroClipboard.js"></script>
<script>
	function actionCallback( data) {
		$("#token").val( data.token );
		$().copyPaste({
			text: $("#token").val(),
			id: "copyToken"
		});
	}
	$().copyPaste({
		text: $("#url").val(),
		id: "copyUrl"
	});
	$().copyPaste({
		text: $("#token").val(),
		id: "copyToken"
	});
</script>